xUnit Patterns.com
Hosted by:
Unit testing expertise at your fingertips!

test fixture (disambiguation)

Unfortunately, several different communities have chosen the term test fixture to mean slightly different things. This wouldn't be so bad if they were radically different things because then we could tell from the usage context. But because the terms are closely related, the meanings can be confused.

In generic xUnit a test fixture is all the things we need to have in place in order to run a test and expect a particular outcome. Think of it as the preconditions of the test. Or, as the "before" picture of the SUT and it's context. See: test fixture (in xUnit).

In NUnit and VbUnit, test fixture is what we call the Testcase Class. See: test fixture (in NUnit).

In Fit, test fixture is what we call the adapter that interprets the Fit table and invokes methods on the system under test (SUT) thereby implementing a Data-Driven Test. See: fixture (Fit).



Page generated at Wed Feb 09 16:39:21 +1100 2011

Copyright © 2003-2008 Gerard Meszaros all rights reserved

All Categories
All "Glossary"
API
DFT
DTO
EDD
GUI
IDE
IOC
ORM
SUT
TDD
UML

AltStyle によって変換されたページ (->オリジナル) /